package com.cjm.one.model.order.dto;

import com.cjm.one.model.order.enums.OrderStatusEnum;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
@Data
public class OrderNoRefundDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "订单号不能为空")
    private String orderNo;

    @NotNull(message = "不退款原因不能为空")
    @Max(value = 200, message = "不退款原因不能超过200个字符")
    private String noRefundReason;

    @NotNull(message = "订单状态不能为空")
    private OrderStatusEnum status;
}
